import { combineReducers } from 'redux'
import counter from './counter.js'
import cart from './cart.js'

// 合并 reducer 模块
const rootReducer = combineReducers({
  counter,
  cart
})

export default rootReducer
